package org.example.controller;

import org.example.dto.base.Result;
import org.example.enums.ResultCodeEnum;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {



    @RequestMapping("/test")
    public Result test(){
        return new Result(true, ResultCodeEnum.SUCCESS.getId(),  "测试成功",  null);
    }
}
